<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //用户输入
        let num=+prompt('请输入分数')
        //进行判断
        if(num>=90){
            alert('恭喜你，很优秀')
        }else if(num>=70){
            alert('良好,请继续加油')
        }else if(num>=60){
            alert('你很危险，要加油了')
        }
    </script>
</body>
</html>